#include <iostream>
#include <string>
using namespace std;

struct My{
    My *left;
    My *right;
    int val;
    My(){}
    My(int val):left(NULL),right(NULL),val(val){}
};

int main(){
    My my(12);
    cout << my.val << endl;
    My lChild(24);
    if (my.left == NULL) {
        cout << "左孩子为空" << endl;
    }
    my.left = &lChild;
    cout << "左孩子值为" << my.left->val << endl;

    return 0;
}